package com.feign.service;

import com.feign.entity.User;
import org.springframework.stereotype.Component;

/**
 * Feign降级
 * */
@Component
public class HelloServiceFallback implements HelloService{
    @Override
    public String hello() {
        return "error";
    }

    @Override
    public String say(String name, String content) {
        return "error";
    }

    @Override
    public String helloUser(User user) {
        return "error";
    }
}
